//
//  SampleBookMainView.h
//  Zinipad
//
//  Created by ZeLkOvA on 12. 5. 17..
//  Copyright (c) 2012년 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "iCarousel.h"
#import "iCarouselColor.h"

@interface SampleBookViewWallpaper : UIViewController<iCarouselDataSource, iCarouselDelegate,iCarouselColorDataSource,iCarouselColorDelegate>
{
    iCarousel* carousel;
    iCarouselColor* carouselColor;
//    iCarouselColor* carouselColor;
//    UIView* RightCarousel;
    UIScrollView* bottomListScroll;
    int nCategoryIndex;
    NSMutableArray* ColorImgArray;
    UIImageView* detailImageView;
    
    NSMutableArray* selectedImgList;
    NSMutableArray* selectedImgOrigin;
    UIView* patternView;
    BOOL bFirstLoad;
    BOOL firstLoad;
    
    UIImageView* detailDescriptionBg;
    
    UIButton* WideButton;
    UIButton* MatchingButton;
    UIButton* PatternButton;
    BOOL bWide;
    
}
@property (nonatomic, retain) iCarousel *carousel;
@property (nonatomic, retain) iCarouselColor* carouselColor;
@property (nonatomic, retain) UIScrollView* bottomListScroll;
@property (nonatomic, retain) NSMutableArray* ColorImgArray;
@property (nonatomic, retain) UIImageView* detailImageView;
@property (nonatomic, retain) NSMutableArray* selectedImgList;
@property (nonatomic, retain) UIImageView* detailDescriptionBg;
@property (nonatomic, retain) NSMutableArray* selectedImgOrigin;

@property (nonatomic, retain) UIView* patternView;
@property (nonatomic, retain) UIButton* WideButton;
@property (nonatomic, retain) UIButton* MatchingButton;
@property (nonatomic, retain) UIButton* PatternButton;

-(void)setUpImg;
-(void)InitCarousel;
-(void)categoryIndexReceive:(int)_nCount;

@end
